import React from "react";
import { RouteConfigDeclaration } from "./router.config";
import App from "../App";

export const routesConfig: RouteConfigDeclaration[] = [
  {
    path: '/admin',
    name: 'admin',
    component: () => import('../view/admin/index')
  },
  {
    path: '/www',
    name: 'www',
    component: () => import('../view/www/index')
  },
  {
    path: '/',
    name: 'root-route',
    component: App
  },
]